package com.zwl.smartplatform.mapper;

import com.zwl.smartplatform.pojo.User;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface UserMapper {

    void addUser(User user);

    List<User> selectByNameOrPhoneOrEmail(@Param("username") String username, @Param("phone")String phone, @Param("email")String email);

    User selectUserByUserName(String username);

    void upDateUser(User user);

    void upDateUserLogin(User user);
}
